//
// AStar
//

import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;

class SearchPureHeuristic extends SearchAStar
{
	public int costFunction(int cost, State s) {
		return heuristic.getHeuristic(s);
	}
	
	protected void addToOpenList(State s, long stateId, long parentStateId, int cost) {
		openList.addState(stateId, parentStateId, 0, heuristic.getHeuristic(s));    	
    }
}
